Repository navigation
Let release.sh's install check pass before the release is signed - #21
Merged
Merged
Conversation
install.sh refuses an unsigned release, and nothing is signed when release.sh runs, so every release stopped at the check and its draft was made by hand. The check now signs a copy of SHA256SUMS with a throwaway key and runs a copy of install.sh that trusts only that key.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
release.shinstalls the Apple Silicon tarball withinstall.shas a last check.install.shrefuses a release withoutSHA256SUMS.minisig, and nothing is signed yet at that point, so every release since signing began stopped there. Each draft was then created by hand withgh release create.The check now:
SHA256SUMSwith a throwaway minisign key in a temporary folder;install.shwhoseRELEASE_KEYSis only that key.The signature path still runs, and the real
install.sh, release key anddist/are untouched. Withoutminisign, the check falls back toSHA256SUMSonly, asinstall.shdoes.A new test runs the block with the real
minisign: a matching build installs with "signature ok", and a tarball that doesn't matchSHA256SUMSfails. It fails on the old block with the same error the releases hit. It runs only whereminisignis installed, so GitHub's runners skip it.